package com.zmzncs.lmtc.module.finance.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zmzncs.lmtc.module.customer.pojo.customer.CustomerDTO;
import com.zmzncs.lmtc.module.customer.pojo.customer.CustomerSearchForm;
import com.zmzncs.lmtc.module.finance.pojo.TransactionRecord;
import com.zmzncs.lmtc.module.finance.pojo.TransactionRecordDTO;
import com.zmzncs.lmtc.module.finance.pojo.TransactionRecordForm;
import com.zmzncs.lmtc.module.finance.pojo.TransactionSummaryRecordDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.Map;

/**
 * <p>
 * 财务-总交易记录表 Mapper 接口
 * </p>
 *
 * @author JD
 * @since 2021-04-07
 */
@Repository
@Mapper
public interface TransactionRecordDao extends BaseMapper<TransactionRecord> {

      /** 查询财务-总交易记录表分页数据 */
      IPage<TransactionRecordDTO> list(Page page, @Param("param") TransactionRecordForm param);

      /** 查询财务-总交易汇总金额 */
      TransactionSummaryRecordDTO selectTransactionSummary();


}
